//
//  MCControllerView.swift
//  MCBodyBuildingPro
//
//  Created by Renlvshijie on 2023/6/18.
//

import UIKit
import ZFPlayer

class MCControllerView: UIView,ZFPlayerMediaControl {
    var player: ZFPlayerController?
    
    func gestureSingleTapped(_ gestureControl: ZFPlayerGestureControl) {
        if self.player?.currentPlayerManager.isPlaying == true {
            self.player?.currentPlayerManager.pause()
        }else{
            self.player?.currentPlayerManager.play()
        }
    }
    
    

    
}
